package br.com.gaspar.seam.seguranca.restricao;

import org.jboss.seam.faces.security.AccessDeniedView;
import org.jboss.seam.faces.security.LoginView;
import org.jboss.seam.faces.view.config.ViewConfig;
import org.jboss.seam.faces.view.config.ViewPattern;

import br.com.gaspar.seam.seguranca.Admin;

@ViewConfig
public interface Pages {


    static enum Pages1 {

        @ViewPattern("/*")
        @Admin
        @AccessDeniedView("/login.jsf")
        @LoginView("/login.jsf")
        ALL;
    }

}
